package com.ruoyi.web.controller.shop.shop.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.web.controller.mall.orderOrder.domain.OrderOrder;
import com.ruoyi.web.controller.shop.shop.domain.ShopShop;
import com.ruoyi.web.controller.shop.shop.dto.ShopDto;

import java.util.Collection;
import java.util.HashMap;
import java.util.List;

/**
 * 店铺信息Service接口
 * 
 * @author ruoyi
 * @date 2020-10-15
 */
public interface IShopShopService 
{
    /**
     * 查询店铺信息
     * 
     * @param id 店铺信息ID
     * @return 店铺信息
     */
    public ShopShop selectShopShopById(String id);

    /**
     * 查询店铺信息列表
     * 
     * @param shopShop 店铺信息
     * @return 店铺信息集合
     */
    public List<ShopShop> selectShopShopList(ShopShop shopShop);

    /**
     * 新增店铺信息
     * 
     * @param shopShop 店铺信息
     * @return 结果
     */
    public int insertShopShop(ShopShop shopShop);

    /**
     * 修改店铺信息
     * 
     * @param shopShop 店铺信息
     * @return 结果
     */
    public int updateShopShop(ShopShop shopShop);

    public AjaxResult changeShopShop(ShopShop shopShop);

    /**
     * 批量删除店铺信息
     * 
     * @param ids 需要删除的店铺信息ID
     * @return 结果
     */
    public int deleteShopShopByIds(String[] ids);

    /**
     * 删除店铺信息信息
     * 
     * @param id 店铺信息ID
     * @return 结果
     */
    public int deleteShopShopById(String id);

	List<ShopDto> findShopListByMap(HashMap<String, Object> map);

	List<ShopShop> findListByUid(Long uid, Double lng, Double lat);

	List findSonIds(String parentId);

	void updateByReturnOrder(OrderOrder orderOrder);

	//查询平台电话
//	String selectMobile();
}
